import './assets/CSS/Global.scss'

import { createApp } from 'vue'
import App from './App.vue'
import router from "./route";
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import { createPinia } from 'pinia'
import * as ElementPlusIconsVue from '@element-plus/icons-vue'

const pinia = createPinia()
const app =  createApp(App)
app.use(router)// 路由
app.use(ElementPlus)// 饿了么UI
app.use(pinia)// Pinia
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
    app.component(key, component)
}
app.mount('#app')
